import fetch from 'utils/fetch';

// 活跃模块

export function ListModules() {
    const data = {
    };
    return fetch({
        url: 'report/user/ListModules',
        method: 'post',
        data
    });
}

// 模块点击量 TOP10

export function findModuleClickTop10( date,
    provinceName,
    cityName,
    areaName,
    moduleId,
    userType) {
    const data = {
        date,
        provinceName,
        cityName,
        areaName,
        moduleId,
        userType
    };
    return fetch({
        url: 'report/user/findModuleClickTop10',
        method: 'post',
        data
    });
}
// 模块点击量列表


export function findModuleClickCount(  
    page,
    pageSize,
    date,
    provinceName,
    cityName,
    areaName,
    moduleId,
    userType,
    useNumberStatus,
    userNumberStatus) {
    const data = {
        page,
        pageSize,
        date,
        provinceName,
        cityName,
        areaName,
        moduleId,
        userType,
        useNumberStatus,// 使用次数排序 0 升 1降
        userNumberStatus//使用人数排序
    };
    return fetch({
        url: 'report/user/findModuleClickCount',
        method: 'post',
        data
    });
}
// 模块点击量excel

export function outExcelByModuleClick(  
    date,
    provinceName,
    cityName,
    areaName,
    moduleId,
    userType,
    useNumberStatus,
    userNumberStatus) {
    const data = {
        date,
        provinceName,
        cityName,
        areaName,
        moduleId,
        userType,
        useNumberStatus,// 使用次数排序 0 升 1降
        userNumberStatus//使用人数排序
    };
    return fetch({
        url: 'report/user/outExcelByModuleClick',
        method: 'post',
        data
    });
}








// 模块分时活跃折线图

export function findModuleActiveSumByHour(date,moduleId) {
    const data = {
        date,//2018-03-28" // 日期 必填
        moduleId//// 模块
    };
    return fetch({
        url: 'report/user/findModuleActiveSumByHour',
        method: 'post',
        data
    });
}

// 模块分时活跃列表

export function findModuleActiveByHour(page,pageSize,date,moduleId) {
    const data = {
        page,
        pageSize,
        date, //2018-03-28" // 日期 必填
        moduleId//// 模块
    };
    return fetch({
        url: 'report/user/findModuleActiveByHour',
        method: 'post',
        data
    });
}

// 模块分时活跃excel导出


export function outExcelModuleByHour(date,moduleId) {
    const data = {
        date, //2018-03-28" // 日期 必填
        moduleId//// 模块
    };
    return fetch({
        url: 'report/user/outExcelModuleByHour',
        method: 'post',
        data
    });
}






// 用户活跃

// 分时活跃趋势
export function userActiveByHourAnalysis(
    date1,date7,date30,
    provinceName,
    cityName,
    areaName,provinceId,cityId,areaId) {
    const data = {
        date1,date7,date30,
        provinceName,
        cityName,
        areaName,
        provinceId,
        cityId,
        areaId
    };
    return fetch({
        url: 'report/user/userActiveByHourAnalysis',
        method: 'post',
        data
    });
}


export function userTypeActiveByDayAnalysis(
    startDate,endDate,
    provinceName,
    cityName,
    areaName,provinceId,cityId,areaId) {
    const data = {
        startDate,endDate,
        provinceName,
        cityName,
        areaName,
        provinceId,
        cityId,
        areaId
    };
    return fetch({
        url: 'report/user/userTypeActiveByDayAnalysis',
        method: 'post',
        data
    });
}


// 使用深度

// 用户停留时长

export function listUseTimeLength(date) {
    const data = {
        date
    };
    return fetch({
        url: 'report/listUseTimeLength',
        method: 'post',
        data
    });
}
// 16. 机型分布
export function pagePhoneModel(page,rows,startDate,endDate,userNumberStatus,loginNumberStatus) {
    const data = {
        page,
        rows,
        startDate,
        endDate,
        userNumberStatus,//用户数排序0.升序 1.降序”
        loginNumberStatus
    };
    return fetch({
        url: 'report/pagePhoneModel/'+page+'/'+rows,
        method: 'post',
        data
    });
}

// 机型导出
export function outExcelPhoneModel(startDate,endDate,userNumberStatus,loginNumberStatus) {
    const data = {
        startDate,
        endDate,
        userNumberStatus,//用户数排序0.升序 1.降序”
        loginNumberStatus
    };
    return fetch({
        url: 'report/outExcelPhoneModel',
        method: 'post',
        data
    });
}

// 数据总览
// 用户活跃趋势（日）
export function userActiveByDayAnalysis(
    startDate,
    endDate,
    provinceName,
    cityName,
    areaName,provinceId,cityId,areaId) {
    const data = {
        startDate,
        endDate,
        provinceName,
        cityName,
        areaName,
        provinceId,
        cityId,
        areaId
    };
    return fetch({
        url: 'report/user/userActiveByDayAnalysis',
        method: 'post',
        data
    });
}
// 月活
export function userActiveByMonthAnalysis(
    startDate,
    endDate,
    provinceName,
    cityName,
    areaName,provinceId,cityId,areaId) {
    const data = {
        startDate,
        endDate,
        provinceName,
        cityName,
        areaName,
        provinceId,
        cityId,
        areaId,
    };
    return fetch({
        url: 'report/user/userActiveByMonthAnalysis',
        method: 'post',
        data
    });
}

// 启动次数
export function startTimes(
    startDate,
    endDate,
    provinceName,
    cityName,
    areaName,provinceId,cityId,areaId) {
    const data = {
        startDate,
        endDate,
        provinceName,
        cityName,
        areaName,
        provinceId,
        cityId,
        areaId,
    };
    return fetch({
        url: 'report/user/startTimes',
        method: 'post',
        data
    });
}

// 活跃用户

export function activeUsers(
    startDate,
    endDate,
    provinceName,
    cityName,
    areaName) {
    const data = {
        startDate,//前天的时间
        endDate,//昨天的时间
        provinceName,
        cityName,
        areaName
    };
    return fetch({
        url: 'report/user/activeUsers',
        method: 'post',
        data
    });
 }
// 新增用户(今日)
export function userGrowthToday(startDate,endDate,provinceId,cityId,areaId) {
    const data = {
        startDate,
        endDate,
        provinceId,
        cityId,
        areaId,
    };
    return fetch({
        url: 'report/user/userGrowthToday',
        method: 'post',
        data
    });
}

// 区域注册用户
export function regionRegisterUser(provinceId,cityId,areaId) {
    const data = {
        provinceId,
        cityId,
        areaId,
    };
    return fetch({
        url: 'report/user/regionRegisterUser',
        method: 'post',
        data
    });
}



// 用户类型分布
export function userTypeByRegionCount(provinceId,cityId,areaId) {
    const data = {
        provinceId,
        cityId,
        areaId,
    };
    return fetch({
        url: 'report/user/userTypeByRegionCount',
        method: 'post',
        data
    });
}

// 用户增长趋势图
export function userGrowthTrend30(provinceId,cityId,areaId) {
    const data = {
        provinceId,
        cityId,
        areaId,
    };
    return fetch({
        url: 'report/user/userGrowthTrend30',
        method: 'post',
        data
    });
}


// 用户留存分析

// 新增用户留存趋势

export function findNewUserRetention(startDate,endDate) {
    const data = {
        startDate,
        endDate
    };
    return fetch({
        url: 'report/user/findNewUserRetention',
        method: 'post',
        data
    });
}

// 活跃用户留存趋势
export function findActiveUserRetention(startDate,endDate) {
    const data = {
        startDate,
        endDate
    };
    return fetch({
        url: 'report/user/findActiveUserRetention',
        method: 'post',
        data
    });
}




// 用户留存统计列表
export function findUserRetentionCount(page,pageSize,date,userNumberStatus,
    nextDayRateStatus,dayRate7Status,dayRate14Status,dayRate30Status) {
    const data = {
        page,
        pageSize,
        date,
        userNumberStatus,//新增人数排序标志0  升 1降
        nextDayRateStatus,//次日留存率排序 0 1
        dayRate7Status,//日留存率排序0 1
        dayRate14Status,//14日留存率 0 1
        dayRate30Status//30日留存率 0 1
    };
    return fetch({
        url: 'report/user/findUserRetentionCount',
        method: 'post',
        data
    });
}


export function outExcelUserRetentionCount(date,userNumberStatus,
    nextDayRateStatus,dayRate7Status,dayRate14Status,dayRate30Status) {
    const params = {
        date,
        userNumberStatus,//新增人数排序标志0  升 1降
        nextDayRateStatus,//次日留存率排序 0 1
        dayRate7Status,//日留存率排序0 1
        dayRate14Status,//14日留存率 0 1
        dayRate30Status//30日留存率 0 1
    };
    return fetch({
        url: 'report/user/outExcelUserRetentionCount',
        method: 'get',
        params
    });
}

// 用户活跃

// 用户活跃频数 图
export function userActiveFrequentAnalysis(startDate,endDate, provinceName,cityName,areaName) {
    const data = {
        startDate,
        endDate,
        provinceName,
        cityName,
        areaName
    };
    return fetch({
        url: 'report/user/userActiveFrequentAnalysis',
        method: 'post',
        data
    });
}
// 用户活跃频数列表
export function userActiveFrequentAnalysisPage(page,pageSize,startDate,endDate, 
    provinceName,cityName,areaName,loyaltyUserNumberStatus,continuousActivityNumberStatus ,
    thisWeekComeBackNumberStatus,lostUserNumberStatus ,uninstallUserNumberStatus  ) {
    const data = {
        page,pageSize,
        startDate,
        endDate,
        provinceName,
        cityName,
        areaName,
        loyaltyUserNumberStatus,//忠诚 0 升序 1降序
        continuousActivityNumberStatus ,//连续活跃 0 升序 1降序
        thisWeekComeBackNumberStatus ,//本周回流 0 升序 1降序
        lostUserNumberStatus,//流失 0 升序 1降序
        uninstallUserNumberStatus ,//卸载0 升序 1降序
    };
    return fetch({
        url: 'report/user/userActiveFrequentAnalysisPage',
        method: 'post',
        data
    });
}
// 区域活跃度 区域活跃度列表
export function regionActiveList(page,pageSize,provinceId,cityId,areaId, provinceName,cityName,areaName,date,userType,userNumberStatus) {
    const data = {
        page,
        pageSize,
        provinceId,
        cityId,
        areaId,
        provinceName,
        cityName,
        areaName,
        date, // "2017-11-16", 日期，格式必须为yyyy-mm-dd形式
        userType, // 用户类型，1家长 2老师 4学生
        userNumberStatus, // 排序方式0升序  1降序
    };
    return fetch({
        url: 'report/user/regionActiveList',
        method: 'post',
        data
    });
}
// 导出
export function outExcelByRegionActive(provinceName,cityName,areaName,date,userType,userCountStatus) {
    const params = {
        provinceName,
        cityName,
        areaName,
        date, // "2017-11-16", 日期，格式必须为yyyy-mm-dd形式
        userType, // 用户类型，1家长 2老师 4学生
        userCountStatus, // 排序方式0升序  1降序
    };
    return fetch({
        url: 'report/user/outExcelByRegionActive',
        method: 'get',
        params
    });
}
// 用户活跃频数excel

export function outExcelUserActiveFreCount (startDate,endDate, 
    provinceName,cityName,areaName,loyaltyUserNumberStatus,continuousActivityNumberStatus ,
    thisWeekComeBackNumberStatus,lostUserNumberStatus ,uninstallUserNumberStatus  ) {
    const data = {
        startDate,
        endDate,
        provinceName,
        cityName,
        areaName,
        loyaltyUserNumberStatus,//忠诚 0 升序 1降序
        continuousActivityNumberStatus ,//连续活跃 0 升序 1降序
        thisWeekComeBackNumberStatus ,//本周回流 0 升序 1降序
        lostUserNumberStatus,//流失 0 升序 1降序
        uninstallUserNumberStatus ,//卸载0 升序 1降序
    };
    return fetch({
        url: 'report/user/outExcelUserActiveFreCount',
        method: 'post',
        data
    });
}

// 区域学校分类模块
// 学校区域分类
export function schoolTypeNames() {
    const data = {
    };
    return fetch({
        url: 'report/user/schoolTypeNames',
        method: 'post',
        data
    });
}

// 区域学校分类列表
export function regionSchoolList(curPage,pageSize,provinceId,cityId,areaId,schoolType,schoolCountStatus) {
    const data = {
        curPage,
        pageSize,
        provinceId,
        cityId,
        areaId,
        schoolType, // 学校类型ID
        schoolCountStatus // 学校数量，排序状态（0 正序，1降序，默认是降序）
    };
    return fetch({
        url: 'report/user/regionSchoolList',
        method: 'post',
        data
    });
}
// 区域学校分类统计
export function regionSchoolChart(provinceId,cityId,areaId,schoolType) {
    const data = {
        provinceId,
        cityId,
        areaId,
        schoolType// 学校类型ID
    };
    return fetch({
        url: 'report/user/regionSchoolChart',
        method: 'post',
        data
    });
}

// 导出

export function outExcelByRegionSchool(provinceId,cityId,areaId,schoolType,schoolCountStatus) {
    const params = {
        provinceId,
        cityId,
        areaId,
        schoolType, // 学校类型ID
        schoolCountStatus
    };
    return fetch({
        url: 'report/user/outExcelByRegionSchool',
        method: 'get',
        params
    });
}


// 学校用户统计

export function schoolUserList(curPage,pageSize,provinceId,cityId,areaId,schoolType,classCountStatus,teacherCountStatus,parentCountStatus,studentCountStatus,schoolId) {
    const data = {
        curPage,
        pageSize,
        provinceId,
        cityId,
        areaId,
        schoolType, // 学校类型ID
        classCountStatus,//班级数量排序字段0 升序，1降序
        teacherCountStatus,// 老师数量排序字段0 升序 1降序
        parentCountStatus,// 家长数量排序字段 0 升序 1降序
        studentCountStatus,// 学生数量排序字段 0 升序 1降序
        schoolId,
    };
    return fetch({
        url: 'report/user/schoolUserList',
        method: 'post',
        data
    });
}

// 导出

export function outExcelBySchoolUser(schoolId,provinceId,cityId,areaId,schoolType,classCountStatus,teacherCountStatus,parentCountStatus,studentCountStatus) {
    const params = {
        schoolId,
        provinceId,
        cityId,
        areaId,
        schoolType, // 学校类型ID
        classCountStatus,//班级数量排序字段0 升序，1降序
        teacherCountStatus,// 老师数量排序字段0 升序 1降序
        parentCountStatus,// 家长数量排序字段 0 升序 1降序
        studentCountStatus// 学生数量排序字段 0 升序 1降序
    };
    return fetch({
        url: 'report/user/outExcelBySchoolUser',
        method: 'get',
        params
    });
}

// // 新增用户

// // 用户增长明细趋势 圖
export function listNewUser(date,provinceId,cityId,areaId) {
    const data = {
        date,
        provinceId,
        cityId,
        areaId
    };
    return fetch({
        url: 'report/user/listNewUserChart',
        method: 'post',
        data
    });
}

export function listNewUserPage (page,pageSize,date,provinceId,cityId,areaId,newTeacherCountStatus,newParentCountStatus,newStudentCountStatus,allUserCountStatus) {
    const data = {
        page,
        pageSize,
        date,
        provinceId,
        cityId,
        areaId,
        newTeacherCountStatus,
        newParentCountStatus,
        newStudentCountStatus,
        allUserCountStatus
    };
    return fetch({
        url: 'report/user/listNewUserPage',
        method: 'post',
        data
    });
}
// 新增用戶的導出
export function outExcelByAddNewUser (date,provinceId,cityId,areaId,newTeacherCountStatus,newParentCountStatus,newStudentCountStatus,allUserCountStatus) {
    const data = {
        date,
        provinceId,
        cityId,
        areaId,
        newTeacherCountStatus,
        newParentCountStatus,
        newStudentCountStatus,
        allUserCountStatus
    };
    return fetch({
        url: 'report/user/outExcelByAddNewUser',
        method: 'post',
        data
    });
}

// 21. 教师活跃度（学校不选，则不可以选eID和姓名）
// 模糊查找学校

export function querySchoolByName(schoolName) {
    const data = {
        schoolName
    };
    return fetch({
        url: 'report/querySchoolByName',
        method: 'post',
        data
    });
}

export function pageTeacherActiveAnalysis(
    page,rows,
    date,schoolId,exueCode,userName,
    loginNumber,loginNumberStatus,
    continuousActivityNumberStatus,
    thisWeekComeBackNumberStatus,uninstallUserNumberStatus) {
    const data = {
        page,
        rows,
        date,
        schoolId,
        exueCode,
        userName,
        loginNumber,//登录次数
        loginNumberStatus,//登录次数排序 0.升序 1.降序”,
        continuousActivityNumberStatus,//发布动态数排序0.升序 1.降序”,
        thisWeekComeBackNumberStatus,//布置作业数排序 0.升序 1.降序”,
        uninstallUserNumberStatus//“发布通知排序0.升序 1.降序”
    };
    return fetch({
        url: 'report/pageTeacherActiveAnalysis/'+page+'/'+rows,
        method: 'post',
        data
    });
}

// 22. 导出教师活跃度
export function outExcelTeacherActiveAnalysis(
        date,
        schoolId,
        exueCode,
        userName,
        loginNumber,
        loginNumberStatus,
        continuousActivityNumberStatus,
        thisWeekComeBackNumberStatus,
        uninstallUserNumberStatus
) {
    const data = {
        date,
        schoolId,
        exueCode,
        userName,
        loginNumber,//登录次数
        loginNumberStatus,//登录次数排序 0.升序 1.降序”,
        continuousActivityNumberStatus,//发布动态数排序0.升序 1.降序”,
        thisWeekComeBackNumberStatus,//布置作业数排序 0.升序 1.降序”,
        uninstallUserNumberStatus//“发布通知排序0.升序 1.降序”
    };
    return fetch({
        url: 'report/outExcelTeacherActiveAnalysis/'+page+'/'+rows,
        method: 'post',
        data
    });
}
// 平台消费情况

// 分页查询现金消费量
export function queryCash(page,rows,provinceId,cityId,areaId,dateYear,dateMonth,cashStatus,numStatus,averageCashStatus) {
    const data = {
        page,
        rows,
        provinceId,
        cityId,
        areaId,
        dateYear,
        dateMonth,
        cashStatus,//金额排序0升序，1降序
        numStatus,//人数排序 0升序 1降序
        averageCashStatus//平均金额排序 0.升序 1.降序
    };
    return fetch({
        url: 'report/queryPayInfo/'+page+'/'+rows,
        method: 'post',
        data
    });
}

// 导出现金消费量
export function exportCash(provinceId,cityId,areaId,dateYear,dateMonth,cashStatus,numStatus,averageCashStatus) {
    const params = {
        provinceId,
        cityId,
        areaId,
        dateYear,
        dateMonth,
        cashStatus,//金额排序0升序，1降序
        numStatus,//人数排序 0升序 1降序
        averageCashStatus//平均金额排序 0.升序 1.降序
    };
    return fetch({
        url: 'report/outExcelByPayInfo',
        method: 'get',
        params
    });
}


//3 分页查询现金消费量内容
export function queryCashCon(page,rows,provinceId,cityId,areaId,dateYear,dateMonth,
    cashStatus,numStatus,averageCashStatus,type,eventKey) {
    const data = {
        page,//（必填）
        rows,//（必填）
        provinceId,//（不必填）
        cityId,//（不必填）
        areaId,//（不必填）
        dateYear,//（不必填）
        dateMonth,//（不必填）
        cashStatus,//金额排序0升序，1降序（不必填）
        numStatus,//人数排序 0升序 1降序（不必填）
        averageCashStatus,//平均金额排序 0.升序 1.降序（不必填）
        type,//“消费类型”（不必填）
        eventKey//“消费类型6000的区分key”, （不必填）
    };
    return fetch({
        url: 'report/queryPayDetailInfo/'+page+'/'+rows,
        method: 'post',
        data
    });
}

// 4导出现金消费量内容
export function exportCashCon(provinceId,cityId,areaId,dateYear,dateMonth,cashStatus,numStatus,
    averageCashStatus,type,eventKey) {
    const params = {
        provinceId,
        cityId,
        areaId,
        dateYear,
        dateMonth,
        cashStatus,//金额排序0升序，1降序
        numStatus,//人数排序 0升序 1降序
        averageCashStatus,//平均金额排序 0.升序 1.降序
        type,
        eventKey
    };
    return fetch({
        url: 'report/outExcelByPayDetailInfo',
        method: 'get',
        params
    });
}

// 获取消费类型列表
export function listCashType() {
    const data = {
    };
    return fetch({
        url: 'report/listCashType',
        method: 'post',
        data
    });
}

// 分页查询提现日统计
export function queryCashDayInfo(page,rows,time,code,name,phone,moneyStatus) {
    const data = {
        page,
        rows,
        time,//日期”, （不必填）传参格式：yyyy-MM-dd
        code,//e学云号”, （不必填）
        name,//“姓名”, （不必填）
        phone,//手机号”, （不必填
        moneyStatus,//金额排序 0.升序 1.降序”, （不必填）
    };
    return fetch({
        url: 'report/queryCashDayInfo/'+page+'/'+rows,
        method: 'post',
        data
    });
}
// 导出提现日统计
export function outExcelByCashDayInfo(time,code,name,phone,moneyStatus) {
    const params = {
        time,//日期”, （不必填）传参格式：yyyy-MM-dd
        code,//e学云号”, （不必填）
        name,//“姓名”, （不必填）
        phone,//手机号”, （不必填
        moneyStatus,//金额排序 0.升序 1.降序”, （不必填）
    };
    return fetch({
        url: 'report/outExcelByCashDayInfo',
        method: 'get',
        params
    });
}
//8 分页查询提现月统计
export function queryCashMonthInfo(page,rows,dateYear,dateMonth,code,name,phone,moneyStatus) {
    const data = {
        page,
        rows,
        dateYear,//查询年份”, （不必填）
        dateMonth,//查询月份”, （不必填）
        code,//e学云号”, （不必填）
        name,//“姓名”, （不必填）
        phone,//手机号”, （不必填
        moneyStatus,//金额排序 0.升序 1.降序”, （不必填）
    };
    return fetch({
        url: 'report/queryCashMonthInfo/'+page+'/'+rows,
        method: 'post',
        data
    });
}
//9 导出提现月统计
export function outExcelByCashMonthInfo(dateYear,dateMonth,code,name,phone,moneyStatus) {
    const params = {
        dateYear,//“查询年份”, （不必填）
        dateMonth,
        code,//e学云号”, （不必填）
        name,//“姓名”, （不必填）
        phone,//手机号”, （不必填
        moneyStatus,//金额排序 0.升序 1.降序”, （不必填）
    };
    return fetch({
        url: 'report/outExcelByCashMonthInfo',
        method: 'get',
        params
    });
}

//10 分页查询获取积分日统计
export function queryPointDayInfo(page,rows,time,code,name,phone,scoreStatus) {
    const data = {
        page,
        rows,
        time,//日期”, （不必填）传参格式：yyyy-MM-dd
        code,//e学云号”, （不必填）
        name,//“姓名”, （不必填）
        phone,//手机号”, （不必填
        scoreStatus,//积分排序 0.升序 1.降序”, （不必填）	
    }
    return fetch({
        url: 'report/queryPointDayInfo/'+page+'/'+rows,
        method: 'post',
        data
    });
}
//11 导出获取积分日统计
export function outExcelByPointDayInfo(time,code,name,phone,scoreStatus) {
    const params = {
        time, 
        code,//e学云号”, （不必填）
        name,//“姓名”, （不必填）
        phone,//手机号”, （不必填
        scoreStatus,//“积分排序 0.升序 1.降序”, （不必填）
    };
    return fetch({
        url: 'report/outExcelByPointDayInfo',
        method: 'get',
        params
    });
}

//12 分页查询获取积分月统计
export function queryPointMonthInfo(page,rows,dateYear,dateMonth,code,name,phone,scoreStatus) {
    const data = {
        page,
        rows,
        dateYear,//
        dateMonth,//
        code,//e学云号”, （不必填）
        name,//“姓名”, （不必填）
        phone,//手机号”, （不必填
        scoreStatus,//积分排序 0.升序 1.降序”, （不必填）	
    }
    return fetch({
        url: 'report/queryPointMonthInfo/'+page+'/'+rows,
        method: 'post',
        data
    });
}

//13 导出获取积分月统计
export function outExcelByPointMonthInfo(dateYear,dateMonth,code,name,phone,scoreStatus) {
    const params = {
        dateYear, 
        dateMonth, 
        code,//e学云号”, （不必填）
        name,//“姓名”, （不必填）
        phone,//手机号”, （不必填
        scoreStatus,//“积分排序 0.升序 1.降序”, （不必填）
    };
    return fetch({
        url: 'report/outExcelByPointMonthInfo',
        method: 'get',
        params
    });
}

//14 获取积分商城页面信息
export function getScoreInfo(dateYear,dateMonth) {
    const data = {
        dateYear,//
        dateMonth,//
    }
    return fetch({
        url: 'report/getScoreInfo',
        method: 'post',
        data
    });
}